﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IBingLocationService.cs" company="XamlNinja">
//   2011 Richard Griffin and Ollie Riches
// </copyright>
// <summary>
//   IBingLocationService.cs
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace WP7Contrib.Services.BingMaps
{
    using System;
    using Model;

    /// <summary>
    /// Defines the interface for searching for location information using the Bing Maps API.
    /// </summary>
    public interface IBingLocationService
    {
        IObservable<LocationSearchResult> SearchForLocationUsingAddress(ILocationSearchAddressCriterion criterion);
        IObservable<LocationSearchResult> SearchForLocationUsingPoint(ILocationSearchPointCriterion criterion);
        IObservable<LocationSearchResult> FindLocationUsingQuery(ILocationSearchQueryCriterion criterion);
    }
}